package com.cs.controller;

import com.cs.service.ICsTenderService;
import com.cs.service.SupplierTenderService;
import com.ruoyi.common.core.domain.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @Author：lyj
 * @Package：com.cs.controller
 * @Project：RuoYi-Cloud-master
 * @name：SupplierTenderController
 * @Date：2024/12/25 10:44
 * @Filename：SupplierTenderController
 */
@RestController
@RequestMapping("/supplierTender")
public class SupplierTenderController {
    @Autowired
    private SupplierTenderService csTenderService;
    @GetMapping("/getBidCandidateAndSended")
    public R<Map<String, Object>> getBidWinningCandidateAndSended(){
        return R.ok(csTenderService.getBidCandidateAndBid());
    }

}
